﻿@page "/datagrid-density"

<RadzenText TextStyle="TextStyle.H2" TagName="TagName.H1" class="rz-pt-8">
    DataGrid <strong>Density</strong>
</RadzenText>
<RadzenText TextStyle="TextStyle.Subtitle1" TagName="TagName.P" class="rz-pb-4">
    Adjust row height and spacing to fit compact or comfortable layouts.
</RadzenText>

<RadzenText TextStyle="TextStyle.Subtitle2" TagName="TagName.P" class="rz-pb-4">
    In this demo a <code>RadzenSelectBar</code> lets you switch between <strong>Compact</strong>, <strong>Default</strong>, and <strong>Comfortable</strong> density settings to see how cell padding and row height adjust in the OrderDetails grid.
</RadzenText>

<RadzenExample ComponentName="DataGrid" Example="DataGridDensity">
    <DataGridDensity />
</RadzenExample>